#include <stdio.h>
#include <string.h>
#include <stdlib.h>


int  utf8_to_gb2312(char*pOut, const char *pInput, int len_max);
int utf8_to_unicode(char* pOutput, const char *pInput);
void unicode_to_gb2312(char*pOut, const char *pInput);

int  utf8_to_gbk(char*pOut, const char *pInput, int len_max);
